package com.wish.building.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;

import java.io.Serializable;

/**
 * <p>
 * 楼盘-特色表
 * </p>
 *
 * @author 刘郑欣
 * @since 2022-03-28
 */
@TableName("tb_relation_premises_property")
@ApiModel(value = "RelationPremisesProperty对象", description = "楼盘-特色表")
public class RelationPremisesProperty implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer premisesId;

    private Integer propertyId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public Integer getPremisesId() {
        return premisesId;
    }

    public void setPremisesId(Integer premisesId) {
        this.premisesId = premisesId;
    }
    public Integer getPropertyId() {
        return propertyId;
    }

    public void setPropertyId(Integer propertyId) {
        this.propertyId = propertyId;
    }

    @Override
    public String toString() {
        return "RelationPremisesProperty{" +
            "id=" + id +
            ", premisesId=" + premisesId +
            ", propertyId=" + propertyId +
        "}";
    }
}
